﻿using System.Collections.Generic;

namespace IOA.MES.EsbApi.Models.Request.Allocate
{
    public class CreateAllocateOrderRequest
    {
        public string OrgCode { get; set; }
        public string DocumentNumber { get; set; }
        public string DepartmentCode { get; set; }
        public string WipEntityName { get; set; }
        public string ProjectNumber { get; set; }
        public string ProjectDescr { get; set; }
        public string MoveOrderType { get; set; }
        public string ProposerNumber { get; set; }
        public string ProposerName { get; set; }
        public string Description { get; set; }
        public List<ApplyLine> ApplyLines { get; set; } = new List<ApplyLine>();
        public string Attr1 { get; set; }
        public string Attr2 { get; set; }
        public string Attr3 { get; set; }
        public string Attr4 { get; set; }
        public string Attr5 { get; set; }
    }
    public class ApplyLine
    {
        public int? LineNumber { get; set; }
        public string ItemNumber { get; set; }
        public string PrimaryUnitOfMeasure { get; set; }
        public decimal PrimaryQuantity { get; set; }
        public string LineStatus { get; set; }
        public string TransactionType { get; set; }
        public string RequireDate { get; set; }
        public string SourceSubinv { get; set; }
        public string SourceLocator { get; set; }
        public string DestSubinv { get; set; }
        public string DestLocator { get; set; }
        public string LotNumber { get; set; }
        public string FinancialAccount { get; set; }
        public string Manufactures { get; set; }
        public string Attr1 { get; set; }
        public string Attr2 { get; set; }
        public string Attr3 { get; set; }
        public string Attr4 { get; set; }
        public string Attr5 { get; set; }
    }
}
